package net.lcheng.service;

import net.lcheng.model.UserAgent;

/**
 * Created by zwr on 2016/7/11 0011.
 */
public interface UserAgentService {
    /****
     * 成为代理
     * @param userAgent
     * @return
     */
    int insert(UserAgent userAgent);

    /***
     * 根据userid获取代理申请的记录
     * @param userId
     * @return
     */
    UserAgent getUserAgentByUserId(String userId);

}
